package designs.models.command.revoke;

public class Application {
	public static void main(String[] args) {
		MakeDir makeDir = new MakeDir();
		Command command = new ConcreteCommand(makeDir);
		RequestMakeDir requestMakeDir = new RequestMakeDir();
		requestMakeDir.setCommand(command);
		requestMakeDir.startExecuteCommand("jiafei");
		requestMakeDir.startExecuteCommand("jerry");
		requestMakeDir.startExecuteCommand("tom");
		requestMakeDir.undoCommand();
		requestMakeDir.undoCommand();
	}
}
 